package com.influxdb.demo.dataObject;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

@Data
@Accessors(chain = true)
@Measurement(name = "customer")
public class Customer {
    @Column(name = "time")
    private String time;
    @Column(name = "level",tag = true)
    private String level;
    @Column(name = "msg")
    private String msg;
    @Column(name = "name")
    private String name;
}
